package com.record.service;



import com.record.dto.FormulaIngredientDto;
import com.record.entity.Formula;

import java.util.List;

public interface FormulaService {

    /**
     * 根据方剂查询组方，功效，剂量、
     * @param formulaName
     * @return
     */
    Formula getFormulaByName(String formulaName);


    List<FormulaIngredientDto> getByIngredient(String ingredientName);


}
